<template>
  <Swiper class="swiper-wrapper">
    <swiper-item v-for="item in topImages">
      <a href="">
        <img :src="item" alt="">
      </a>
    </swiper-item>
  </Swiper>
</template>

<script>
import { Swiper, SwiperItem} from 'components/common/swiper'
export default {
  name: "DetailSwiper",
  components: {
    Swiper,
    SwiperItem
  },
  props: {
    topImages: {
      type: Array,
      default() {
        return []
      }
    }
  }
}
</script>

<style scoped>
  .swiper-wrapper{
    overflow: hidden;
    height: 300px;
  }
  .swiper img {
    width: 100%;
    height: 100%;
  }
</style>
